package example;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
class LogAspect {
	@Before("@annotation(example.Log)")
	void logBefore() {
		System.out.println("Logging before method execution.");
	}
}
